package com.cbs.component.android.storage.storageinterface;

import java.io.File;
import java.util.Hashtable;

/**
 * Created by broche on 11/12/15.
 */
public interface StorageInterface {
    String upload(String key, String module, String operation, Hashtable<String, String> params, byte[] data, StorageHandler handler);

    String upload(String key, String module, String operation, Hashtable<String, String> params, File data, StorageHandler handler);

    String upload(String module, String operation, Hashtable<String, String> params, byte[] data, StorageHandler handler);

    String upload(String module, String operation, Hashtable<String, String> params, File data, StorageHandler handler);

    void cancel(String id);
}
